Use pure ruby to send a TCP message

No netcat in the new travis env.