After I try to open the socket, I get a $sockerr=4 in sockopen.
I have no idea how to find the error codes for $sockerr, but I guess its proxy related.