Add const isserver and isclient