dup response check in error
test added for dup error response
response hook
addRequestHooks and addResponseHooks
fix error responses now has reuqest object
redirection bug fix