Handles the edge case.
SOCKS for IPv6 isn't supported yet.