check ROS_IP for localhost and do the right thing when binding