fix cpu 100% issue and certificate validation.
refine logging level
Merge branch '3.0' of https://github.com/goagent/goagent into 3.0