parse HTTP header fields