Improve the efficiency of PUT method

Improve the efficiency of PUT method, merge two socket.fwrite in one.  made the performance from 25/second up to 7000/second in a single process.