fixing http handler bugs
adding nodeunit as dev dep