Add tcp server

Thanks go to to stephan48 for implementing 90% of the TCP server code.  This pull request has code that works, and I'm using it with my TCP/UDP greysink DNS server code here http://github.com/warewolf/greysink

Thanks bingos, and stephan48! :)