fixing SSL and compression