Add support for 2waySSL to ApiMockServer

change to listeningPorts