rawurlencode instead of urlencode, fixes #77

http://stackoverflow.com/a/996194