Add checking logic for getLocalIp while creating ShareCircle. And
uniform error log output.