fixes situation where if using non-strict mode and a non proxy protocol
connection comes in everything blows up. This has probably been broken since
d3599dca91267b8e9ad6beba1f30134f7f9e3958
only check header validity if in strict mode
Merge pull request #7 from sandfox/master

Fix connection handling for non-proxy connection when in non-strict mode