need to pass original $_SERVER hash into sub-process so it can function
as normal. Cleaned up the handler setting code.