Merge pull request #250 from trevorbernard/master

Fix issue #249
Improvements
Fix recvByteBuffer unit test
Merge pull request #252 from trevorbernard/byte-buffer

Fix issue #251 - Take into account the position of the ByteBuffers