A couple of fixes

Fix for blocking mode sync issue between SocketUDT and SocketChannelUDT and a fix for NioInputStream::read not limiting ByteBuffer which resulted in more data being returned than expected.