added send queue, added raw mode, now using http.js
merged local changes