=BG= wrap all http request handlers using a closure to reduce boilerplate cruft
=BG= clean up