Add support for 2waySSL to ApiMockServer

use https instead of httpsPort