Document options for WebSocket()
Add client-side certificate support

Code is adapted from jnardone's branch + tests and documentation
Certificate fixtures are generated with the Makefile from the node source code