Added socket server class + sample code