Change link.origin with linbk.host for compatibility with firefox.
Join protocol, host and port of link for test of crossOriginWhitelist.
Add test presence for link.port before join it.
Merge pull request #41 from o-bo/master

Change link.origin with link.host for compatibility with firefox.