code: function(err, docs) {
          if (err) {
              /* Failed to get proxy from db */
              console.log(err);
              callback(err);
              return;
          }
  
          if (docs !== null && docs.length >= 1) {
              callback(null, docs);
          } else {
              var errorMessage = "No proxy that matches the criteria";
              var err = new Error(errorMessage);
              console.log(errorMessage);
              callback(err);
          }
      }
docs: /* Handles proxies find results