cached ip and pubkey - final
small bug fixes
Merge branch 'changes' of https://github.com/gaohao/peernet-client into changes