Further to previous changeset, don't crash if the HTTP headers fail to parse.