allow non-numerical hostnames

bittorrent-dht uses this with "router.bittorrent.com:6881"