Added `optional_features` to `compat` module.
Added path_to_file_uri() and file_uri_to_path().
Added file schema handling to Request class.