Improve HTTPS security