Use SocketException in proxyReadWrite