fix permisson error, add flag parse for CLI
add httpbin sample, getip/help func