updated auto connection functions to new c code httpd implementation