rework http_keep_alive mechanism, some code reformatting
Merge pull request #3 from sis-cmdb/dev

rework http_keep_alive mechanism, some code reformatting