rgw: s3: secure_port should override port, also apply ssl default right.
Without https, only port is set. With https, secure_port and port are
both set to the same value. The previous logic looked at port first and
had overly simplified conditional logic which was liable to try to apply
both non-default cases. The correct behavior is: look secure_port first,
and if secure_port is set, then only check to see if it's a non-default
port.