Basic client/server using network socket