Avoid leaking a goroutine.
Avoid leaking a goroutine.

Without a buffer, when ServeHTTP returns, if OpenWebSocket has otherwise
exited (either because the connection was hijacked or because any data
was written), the send on doneChan will block, and so the goroutine will
never exit. We add a one-element buffer to keep it from blocking.

zenhack/go.sandstorm,zenhack/go.sandstorm,zenhack/go.sandstorm