[sr-dev] git:3.1: presence(k): avoid str* alloc for local contact