Fixed a string bug in parsing http request responses.