Bug fix for #8 - relative root URLs shouldn't throw an exception.
Merge pull request #9 from arobson/master

Bug fix for #8 - relative root URLs shouldn't throw an exception.