Sinatra extensions for blocking non-AJAX requests.