When using HTTPS with a port other than 443, the self links returned remain HTTP.
Please see: https://github.com/zendframework/zend-view/blob/master/src/Helper/ServerUrl.php#L149
There are plenty of use cases where people will use ports other than 443 for their HTTPS needs. I believe this needs to be refactored to be less strict.
I'm happy to make the PR contribution, but I wanted to submit the issue first to make sure this doesn't break some standard.