convert the uri parser from lists to binaries

This contains an API change
Merge pull request #5 from ericbmerritt/master

Convert the parser from lists to binaries