Protocol codec which provides the integration with Netty2 messages.