A simple use of sockets with libGDX