Run the server:
go build
./tcp-custom-protocol
From another terminal, connect to it:
nc localhost 6969
Register your client:
REG @johndoe
Close the terminal to unregister it.
List all registered clients:
USRS
Send a message to another client:
MSG @mariorossi Hello, world!