Fixes issue with server address with port

Fixes #95
Merge pull request #96 from Bouke/patch-3

Fixes issue with server address with port