Allow jmpsrv to handle SSL-connected clients correctly

And also allow clients to use the port they're currently using.