Merge pull request #917 from wpreul/master

Adding test for malformed accept-encoding
Force abort on error
Adding test for handling downstream close in client