fixed trailing dot servername without port
Merge pull request #55 from zelgerj/master

fixed trailing dot servername without port