#622: Wrong port defaulting if https used.
Merge branch 'dev' into https
Add UT for port defaulting
Merge pull request #44 from andrerod/https

#622: Wrong port defaulting if https used.