Simple TCP/IP simulation