Add Websocket support, send an event when the brew is finished.

Please merge, dear sirs/madams. God wills it!