added (mostly unmodified) client/server socket code from "http://www.dreamincode.net/forums/topic/259777-a-simple-chat-program-with-clientserver-gui-optional/", should be base for implementing networking for the game
some name changes to networking stuff to better align it with application