Minor tweak.
Fixes #317 Changes NetChannel.close() return to Promise<Boolean>
Update gradle wrapper.
Add a method to Promises to provide a single-use style Consumer by attaching a special Consumer that fulfills a Promise when the given Composable publishes the next value.
Change SingleUseConsumer to use CAS operations instead of a synchronized block that was insufficient to prevent a race condition when multiple threads publish values at the same time.
Add a cancelAfterUse() call on connection reconnect.
Add a toString() on Event.Headers
Move mavenCentral() to the top of the repository list in the build.
Add reference indirection and a removal of the registration from the internal list. Before it was only be removed from the cache when cancelled and not also the main list of registrations.
Make sure the previous chane is thread-safe.
Arg. Generics and 1.6 vs 1.7. :P
Switch to using channelInactive to detect a channel close event.