Adds Websocket support to HTML frontend
Update main.go

Fixes a typo
Update main.go

Fixes formatting
Merge pull request #419 from emersion/master

Adds Websocket support to HTML frontend