Un-break webmessaging origin comparison.
Updated fix.
More fixes to webmessaging origin comparison.
Un-regress one webmessaging origin comparison.
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).
Refine port check in webmessaging origin compare.
Cleaned up whitespace.
Merge pull request #1417 from w3c/sideshowbarker/webmessaging-origin-fix

Un-break webmessaging origin comparison.