Added uri_parts() method, which returns an array of uri parts