Mozilla's socket is not extensible via Object.preventExtensions(obj) and throws exceptions when non-prototype function .oncert is added. The callback function is needed for the other shims.
* Uses predefined error messages from the config * Show error and underlying error in login screen