This looks like two separate issues. Since the discussion in the comments is on the request handler issue, I'll open a separate bug about the pickling.
This looks like two separate issues. Since the discussion in the comments is on the request handler issue, I'll open a separate bug about the pickling.