code: function (ports) {
              if (!Array.isArray(ports)) {
                  throw new Error("ports parameter must be an array but found: " + JSON.stringify(ports));
              }
              return makeRequest(host, port, "/bind", {ports: ports});
          }
docs: Add new ports the server is bound to and listening on
  
  @param ports array of ports to bind to, use 0 to bind to any free port