Start stathat, use http_uri to encode the URI parts.