Fix SSL bug in http_server