proj: minor changes to handling of peers