var sys = require('sys');
var http = require('http');
var base64 = require('./vendor/base64'); 

// Command line args 
var USERNAME = process.ARGV[2];
var PASSWORD = process.ARGV[3];
var SERVER = process.ARGV[4];
      
if (!USERNAME || !PASSWORD || !SERVER)
  return sys.puts("Usage: node server.js <twitter_username> <twitter_password> " + 
                  "<master server>");

var auth = base64.encode(USERNAME + ':' + PASSWORD);

// Connection to Twitter's streaming API
var twitter = http.createClient(80, "stream.twitter.com");
var request = twitter.request("GET", "/1/statuses/filter.json?track=Bieber",
                              {'host': 'stream.twitter.com', 
                               'Authorization': auth });


request.addListener('response', function (response) {
sys.puts('STATUS: ' + response.statusCode);
  response.setBodyEncoding("utf8");
  response.addListener("data", function (chunk) {
                        // Send response to all connected clients
                         sys.puts(chunk);
  });
});
request.end();

@@ -17,21 +17,21 @@
 e('sys')
-;%0Avar
+,%0A   
  http = 
@@ -45,21 +45,21 @@
 ('http')
-;%0Avar
+,%0A   
  base64 
@@ -206,22 +206,16 @@
 RGV%5B4%5D;%0A
-      
 %0Aif (!US
@@ -558,10 +558,11 @@
 st(%22
-GE
+POS
 T%22, 
@@ -589,21 +589,8 @@
 json
-?track=Bieber
 %22,%0A 
@@ -702,17 +702,100 @@
 n': auth
- 
+,%0A                               'Content-Type': 'application/x-www-form-urlencoded'
 %7D);%0A%0A%0Are
@@ -846,16 +846,18 @@
 onse) %7B%0A
+  
 sys.puts
@@ -978,36 +978,16 @@
 hunk) %7B%0A
-                    
     // S
@@ -1032,53 +1032,125 @@
     
-                     sys.puts(chunk);%0A  %7D);%0A%7D
+sys.puts('--------------------------------------------');%0A    sys.puts(chunk);%0A  %7D);%0A%7D);%0Arequest.write(%22track=Bieber%22
 );%0Ar

Convert to POST, clean formatting