Mock HTTP server response if matching with mock definitions. Redirect to original location if no matching with mock definitions