Added default port for protocols, remove hardcoded https port