Change HttpResponse format to avoid allocating too much ByteBuffer.