Demo code for TCP sockets, a test that it actually works.