Made SockObj base class and a client & server class that is used for chat now.