Adds HTTPS support to the mock server.