rejects connections if not in server-mode