Added encoding detection utils.
Created Request class and url quoting utils.