Remove strict check for https status.

Null was returned while empty string was expected.
Ignore port when for toString when port is the default