Save local uid and add an option to load peer uid<->ip mapping configuration

In same scenarios, we need constant IP for peer.
For example, a git server. User push/pull from this git server.
If the IP address for this server is changed, we need modify .git/config every time when we access the git repository.