rpclib: read SOCKS _after_ processing.
When doing the client handshake, we need to read data after we check for stuff to send, since the client speaks first in the socks protocol.
Without this patch, the socks handshake just stalls.
When doing the client handshake, we need to read data after we check for stuff to send, since the client speaks first in the socks protocol.
Without this patch, the socks handshake just stalls.