Proper browserify shim

This package does not give the very same interface in the browser and on node.js.

This is needed by https://github.com/maxogden/websocket-stream/pull/19.