Adds https support to the mockserver.