move defaultStaticHandler to closure, and default static serving now has post covered