Use url.netloc instead of url.hostname to support ports for CORS
Add test case of host with port in the CORS whitelist
Merge pull request #10 from opozo/cors-ports-support

Use url.netloc instead of url.hostname to support ports for CORS