Fix bug: self.remote_family not set when socks5 with ip.