[core] implement generic "fetch" api
[core] add global named fetch pool; all backends have to return strings. implement a simple backend.
[mod_gnutls] add SNI
fix bugs and warnings reported by clang

 * fix memset sizeof() bugs
 * fix unaligned memory access
 * fix warnings for casts with alignment change
 * crypt_r needs _GNU_SOURCE