Fix error when socket closes during deflate
Merge pull request #6 from morpheus-med/d1125-conn-closed-during-deflate

Fix error when socket closes during deflate