remote_connect
int remote_connect(const char *, const char *, struct addrinfo);
int remote_connect(const char *, const char *, struct addrinfo);
proxyfd = remote_connect(proxyhost, proxyport, proxyhints);
s = remote_connect(host, portlist[i], hints);