Missing include that prevents proper SSL support

The header file http.h uses macro definitions defined (or not) in config.h, but does not include config.h beforehand.
This caused a segfault for me, because a pointer value was incorrectly overwritten in the code.