support for old http.js in node 0.10