e2e: implement send and handle recv

This works for the first message with tcp then fails
tests: make sure all output uses stderr