Changing to OO + SockServer