Request and Response header parsing