add basic s2s communication framework