clean up request errors, not fail server
move request validation
moving request validation to urllib
http data handling to module