Ssl and compression

Fixes #3