Fix sign conversion warnings in http.c