Tests. Corrects basic tests, adds HTTP/1.1 tests
fixes compiling issue