Fix the build with MSVC

MSVC does not behave nicely with multi-line QStringLiterals so
use QLatin1Strings with string builder.
Another attempt to improve WebSocket handshake reply handling
Merge pull request #194 from bbandix/master

Fix the build with MSVC