notify client and/or server if enabled

Resolves #171