Update http.js to 0.1.2

Fix Bugs