Fix compose-buffer for wrapping ByteBuffer, fixes #11

Wraps a ByteBuffer, bytearray or ByteBuf properly.