fixes #6562 - APIv2 is declared stable as of the next release
fixes #3601: Use secure websockets if available

Websockets_ssl* settings must be configured with the appropriate
certificates for this to work.