bits.close: Fixed compilation warning

warning: implicit declaration of function 'connclose'
http.c: Fixed compilation warning

warning: suggest braces around empty body in an 'else' statement