allow numeric hostnames for localhost on localhost-only connections
rospy tweak to cause tcpros to check outbound connections if ROS_IP=localhost is set, and only connect to local interfaces if so. this is the behavior implied by the ROS_IP documentation, which was previously only implemented for inbound connections.