minor tweaks: ptr<>, parse_host_port