dns.c: check return value.
diskcache.c: check return value.
server.c: don't pass a negative value.
http_parse.c: if error, then return ...