SYNC-333, allow the use of SSL self-signed certificates

Are we hard-coding port 443 here, or is this an internal detail?  eg. if someone is running tomcat with a self-signed certificate, and listening on port 8443, will this still work?