added general server request error handling mechanism AGPUSH-720

https://issues.jboss.org/browse/AGPUSH-720
Maybe we have to change to upsConsole?