http(s) error manager