On Receiving Server
ssh user@proxy socat UNIX-RECVFROM:/tmp/foobar -
./foobar | ssh user@proxy socat - UNIX-SENDTO:/tmp/foobar