Right now it is hard to do, because the protocol specification is still in draft.

I take it you are using the prototype from the HTML5 labs website? If you are using the latest version of the prototype then the client (the WebSocketDraft object in this case) is speaking the hybi-09 version of the protocol. Currently, none of the browsers
implement hybi-09.

If you wanted to use native websockets today, you would have to figure out which versions of which browsers you were interested in supporting, then find out which versions of the WebSocket protocol they use and then find a WebSocket server that implements
those versions.