Automatic messageType detection for ChannelInboundMessageHandlerAdapter