Reduce complexity in constructor for C2SServer