Explicitly return null when web sockets are used, in addition to returning the deferred object that $.ajax returns. Document changes related to return.