Fix crash when NSURL +URLWithString: returns nil (for invalid URLs)
Merge pull request #4 from indragiek/master

Fix crashing bug when NSURL +URLWithString: returns nil