Improved socket communication support. Adds batch command and remote python script file execution support with payload results.