added general server request error handling mechanism AGPUSH-720

https://issues.jboss.org/browse/AGPUSH-720