Initialize s->opaque before calling url_resetbuf().