better error handling for web servers
Prepare factored 3.0.2.