Improve sed string to get host:port.