switches to buffer for tcp connection
http connection now working with buffers
Merge branch '1244_js_buffer' into next