imrelp: support for setting permitted peers (client authentication) added