Fix null pointer exceptioin on SegmentInnerIterator. Fixes #14
Ensure URI's are escaped. Fixes #13
Merge pull request #17 from myagley/uri-escape

Ensure URI's are escaped. Fixes #13
Merge pull request #16 from myagley/iter-null

Fix null pointer exceptioin on SegmentInnerIterator. Fixes #14