fix redis detect logic
if using reverted proxy like nginx, only binding on local host
Merge pull request #315 from cnpm/local-bindding

Local bindding and redis fix
npm get short only can read from cnpm now
Merge pull request #316 from cnpm/first-full-sync

npm get short only can read from cnpm now
support custom web home page