Web.pm: configurable timeout with higher default; detect errors when parsing