fix opts passing in s2s server constructors