Unify http interface in Node