Added support for using ByteBuffer as response's body
Fixed tests