public interface changed to be similar to that of http.createServer
removed log