Fork of code.google.com/p/go.net/websocket