[sr-dev] git:3.1: kcore: check if To header is parsed before parsing To uri