Bernhard Loos : server: Correctly implement permission checking for named pipes.