parse url to binary