remove the namespace srs, use http prefix
refine code, extract http hooks.