Added unit test for header parsing code (MP2-424)
Fixed http header parsing, introduced consts, added support for LF only linebreaks. Many thanks to mnmr and mrj (MP2-424)