HTTP fixes

Some small faults in the in-built QtController server made it serve up ever so slightly malformed HTTP headers -- fixed (at least enough to work with C# WebRequests).