p-m: log connect/disconnect with timestamp

Signed-off-by: Andreas Beckmann <anbe@debian.org>