Description
The remoteHttpHost method of AbstractGenericHandler uses the ChannelContext to get a SocketAddress. It then casts it to InetSocketAddress but this is not the only implementation. Most notably, Netty's EmbeddedChannel will produce an incompatible EmbeddedSocketAddress which causes a class cast exception.
This is visible in unit tests, several of which now fail.