throw an exception if the ByteBuffer provided to Msg is not flipped
Merge pull request #133 from fernandezpablo85/buffer-flip-warning

Throw an exception if the ByteBuffer provided to Msg is not flipped
added logging statements