托管VM中的Websocket支持

I've tried using websockets within my Golang application served from Google's managed vm but I couldn't get it to work, from Chrome developer console I'm getting:

WebSocket connection to 'ws://127.0.0.1:8080/connect' failed: Error during WebSocket handshake: Unexpected response code: 400" and on my backend I'm getting: "websocket: connection header != upgrade.

My question, does managed vm supports Golang websockets? If so a code snip would be appreciated.

As per Google's documentation and the example included over there, Managed VMs supports WebSocket in "Java" language as for now. May be in the future release (as Managed VMs is still in its Beta version), "GO" language will be put into consideration for addressing such functionality and/or feature.