bugfixes in http-conn-check
organizing for scalability