title: Parse a raw HTTP Response in C# to get the Status Code
body: <p>Is there a simple way to parse an HTTP Response string such as follows:</p>
  
  <pre><code>"HTTP/1.1 200 OK\r\nContent-Length: 1433\r\nContent-Type: text/html\r\nContent-Location: http://server/iisstart.htm\r\nLast-Modified: Fri, 21 Feb 2003 23:48:30 GMT\r\nAccept-Ranges: bytes\r\nETag: \"09b60bc3dac21:1ca9\"\r\nServer: Microsoft-IIS/6.0\r\nX-Po"
  </code></pre>
  
  <p>I would like to get the Status Code.  I do not necessarily need to turn this in to an <code>HttpResponse</code> object, but that would be acceptable as well as just parsing out the Status Code.  Would I be able to parse that into the <code>HttpStatusCode</code> enum?</p>
  
  <p>I am using a sockets based approach and cannot change the way I am getting my response.  I will only have this string to work with.</p>