Make QtWebsocket work with Qt 5

Just a reference pull request. Not ready for primetime :)