Cleanup code and make it compile with the latest version of QtWebSockets