Low-latency replacement for local Java sockets, using shared memory