Fix Issue #562 by always using http in the origin header instead of usin...

...g the same protocol as the client used