fix qmake error for qt5 "Project ERROR: Missing CMake tests" + fix QWebsocket::open() compilation error for qt5 + fix protocol switching (http to ws) + fix handshake url + fix endpoint connexion