There is more then one way to do simple TCP proxy.
socat tcp-l:1234 tcp:1.2.3.4:1234 is "relay" or "port forwarder" (if I am right).
How to call socat tcp-l:1234 tcp-l:1235 and socat tcp:1.2.3.4:1234 tcp:1.2.3.5:1235?
(listen two sockets and relay data between them or connect two sockets and relay data between them)