Implements nodejs echo server