A Recreational Post System/Simple TCP

The receiver of a connection must not do anything without being asked.

To greet, write HELLOIM name, with name being your canonical WAY element.
You will be welcomed with HELLOIM name, likewise.

To send messagges, write HEREYOUGO message-count.
Then for each message, UNE line-count, and the message.

To receive messages, write ANYFORME?.
You will get a reply of HEREYOUGO message-count.
Then for each message, UNE line-count, and the message.

To close cleanly, write IMOFFNOW.
You will get a reply of OKSEEYA.