Implement permessage-deflate (draft-ietf-hybi-permessage-compression-13)
This PR implements the permessage-deflate extension. No extension parameters are implemented. This is fine as they are optional for the server.
Tested in Firefox 53 and Chrome 59 with Python 2.7 and 3.5.