Fixed bug preventing connection to hosts with '/'s in name.

Opening a socket to the wrong host, since we aren't cutting the slashes.