more utilities for library
a websocket server just echo