Fixes https URI port