Updated some names, added stubs for uri_error and uri_normalization_level.
Added documentation about error handling.