var http = require('http');
var map = require('through2-map');

var server = http.createServer(function (req, res) {
	req.pipe(map(function (chunk) {
  		return chunk.toString().toUpperCase(); //.split('').reverse().join('')
	})).pipe(res);
});
server.listen(process.argv[2]);
var http = require('http');
var map = require('through2-map');

var server = http.createServer(function (req, res) {
	req.pipe(map(function (chunk) {
  		return chunk.toString().toUpperCase(); 
	})).pipe(res);
});
server.listen(process.argv[2]);

clean up file