fix #567, fix #572
fix #297, fix #488 * Errors are checked and reported * More comments explaining what is going on * The connection is gracefully closed WebSocket: * Messages are drained before closing
* The examples/ directory is renamed to example/ * Each program is in its own directory with its own build scripts