support lazy reloading using HUP Signal

Since it is accepted not to use client API to reload config.json and hostconfig.json in pull request #4024. I have added a HUP signal handler in server.go to do lazy reload