Fixes nodeapps/http-server#31 by adding rudimentary logging
-res, fix if () spacing, remove unused util require
[fix] Add ref to undefined `res`.