Use default port for HTTPS if possible