Extract response class from Worker; rename Worker to Handler; allow server to be run without multithreading as required by some tests