- change http client to curl
- add functions log_*
- add update hostname action for rsyslog hostname field