Basic generic tcp client and server hooked into event system.