HTTP server: fix requests that are larger than 1024bytes

This fixes PowerDNS/pdnscontrol#29