Have more rigorous HTTP bad request handling