http-server: wrap event callback
http-server: wrap event callback

Return early when timeout occurs.  Eliminate one _valid() check.

CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy