scrappy code, echo server