[fix] Added missing origin property.

Fixes #38

Also moved the `require(url).parse` out of the construction phase. It's a pointless performance hit and the require should be cached. 
Sure we can bundle it with a license reference in the file but that kinda defeats the purpose of having dependencies. Because dependencies can be tested easily individually, maintained individually and shared with the community. If there would be fixes for the original module they will not make their way back to this module. But if you would rather scarifies this for the sake of no modules, i'm fine with that and i'll update the pull request if needed.