Windows: add a wrapper for the shutdown() system call