fix overriding port in case of ssl