Merge pull request #1 from zelgerj/master

fixed tests and integrated test suite
fixes backend gone away mixed with empty header strings