Used for connecting over websocket endpoints as a client
including the general websocket connection configuration
with the addition of a ca_file, in the case the server you
are trying to connect uses a self-signed certificate.
Used for spawning a websockets server, including the general websocket
connection configuration, and a tls_config, which is basically a TLS config
in the case you want to have TLS enabled for your server.