Fix issue #66 - Add ByteBuffer API to Sockets for sending and receiving messages