Throw exception on invalid request/status line