Introduce exception factory to allow customization off exception thrown when ip is blocked