a simple tcp socket echo server written in ruby