fixed header parsing. added more http headers to protocol class, refactored coding / docBlock standard