Adding support for any SocketChannel (NIO or OIO at the moment).