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.
Merge remote branch 'origin/develop' into develop