`beforeOpen` and `beforeSend` for ajax no returns `xhr` object. Returning false in `beforeOpen` will abort the request.