http_server: cap timeout at 32-bit LONG_MAX seconds