Check on ending '?' before adding a '?' (led to an internal server error of Autobahn)
Check on ending '?' before adding a '?' (led to an internal server error of Autobahn)

Change-Id: Id51b6ae1eabfda7e0daa3eaa64be93bc6140afbb
Reviewed-by: Kurt Pattyn <da83d6ada5df79ff647b4271d0d788c6f1bafca2@gmail.com>

SfietKonstantin/qtwebsockets,remimixlr/QtWebsocket,pixty/qtwebsockets,pixty/qtwebsockets