Use legato for a socket server

You can run the init script in startlegato.sh