     client.print("PUT /v2/feeds/");
     client.print(settings.feed);
     client.print(" HTTP/1.1\n");
-    client.println("Host: api.cosm.com");
     client.print("X-PachubeApiKey: ");
     client.println(settings.apikey);
     client.print("User-Agent: ");

settings;

// working vars
EthernetClient client;
EthernetServer server(SERVER_PORT);

long lastConnectionTime = 0; 

      } 
      else if (i == 1) {
        cmd = chr;
      } 
      else{
        inputBytes[i-2] = chr;
      }
