Parse HTTP headers