Add support for 2waySSL to ApiMockServer

use admin instead of adminPort