Use BytesIO in the proxy processors as data from request is treated as binary data
Use BytesIO instead of StringIO as the response content must be treated as binary