Fix #7 and process URL as binary

Also add test for URL as char list
Merge pull request #8 from lexmag/master

Fix #7 and process URL as binary