Fixed the building of the server/port string to be IPv6 safe.
Merge pull request #51 from bramp/ipv6

Fixed the building of the server/port string to be IPv6 safe.