refactored out the http client code. integrated the simple qbets predictor back to Kitty (activatable from a cmd flag)