5/4/2014 changes

gateway code - changed
node code - changed
added PHP server post requests