Fix incorrect status line parsing in HttpSocketResponse.

Allow for multi-word status reasons.

Closes #3545