Convert the WebSocket example to a unit test and fix some syntax/style errors.
Work around a new restriction for class members passed as alias parameters (obviously not possible anymore for DMD 2.065).