Add sendByteBuffer API

Add junit test
Add recvByteBuffer API

Add junit test
Convert ByteBuffer to byte[] array instead of using CharBuffer
Modify Context to implement Closeable