fixed https://github.com/paullik/http-daemon/issues/5