http.c: Fixed compilation warnings from features being disabled

warning: unused variable 'data'
warning: variable 'addcookies' set but not used

...and some very minor coding style policing.