Raw Sockets: Response Headers
===

I'm practising HTTP using Sockets in C# and i'm able to get the response body with this code:

    int bytes = 0;
    while (bytes > 0)
    {
        bytes = HttpSocket.Receive(RecieveBytes, RecieveBytes.Length, 0);
        Response.Body = Response.Body + Encoding.ASCII.GetString(RecieveBytes, 0, bytes);
    }

When I read Response.Body it only contains HTML code. (The body).

How would I get more information? Like the response headers? I already did some googling but there's not clear answer.

Note: I know there's not point int creating a class or framework for HTTP in C#, since we have HttpWebRequest. However I'm doing this for learning purposes.

Swen