Add optional scheme parameter to encoding_of_query
Fix userinfo percent-encoding/delimiter bug (#35).