Extracted echo server on its own file.
Added testling support.

Beware that this commit depends on a modified ws package that shims
properly. This is not the case with the original package.