Mock TCP connection by redirecting them