Fatal error in RequestMediator::writeResponseBody() for malformed responses

Issue https://github.com/guzzle/guzzle/issues/408