Fix parsing response status codes with spaces.

(e.g. "Moved Temporarily")