added general server request error handling mechanism AGPUSH-720

https://issues.jboss.org/browse/AGPUSH-720
right, I need to rebase this PR