Fix URLWithPath to use correct component.
Merge pull request #12 from LIFX/fix-url-with-path

Fix URLWithPath to use correct component.