Useful inbound & outbound handlers for Netty