refine ssserver