Make Rfc3986 encoding optional

fixes #5