Optionally allow self-signed and expired certificates for "wss" connections

This helps during development. Just pass "allowSelfSignedCertificates" and "allowExpiredCertificates" as "true" options when creating the WebSocket.