Improve client handler
requests and responses; auto-restart after given number of served requests