Add support for parsing name:port ipv4_addr:port and ipv6_addr:port

there should be a lib function for this bit of nastyness.
Added parse_addr for command line parsing