Fix bug in http_parse '\r' trimming

Caused by the previous micro-optimisation, oops