Bugfixes for Davide Libenzi's wininetd