Make webmessaging tests work if served over TLS.

As long as we're touching some of these files, might as well take
some time to make the tests work if they're served over TLS (now
that we'll soon have working TLS support in wptserve).