added support for permessage-deflate WebSocket compression (closes #566)