fixed header parsing. added more http headers to protocol class