named pipes - actually move PIPE_REJECT_REMOTE_CLIENTS into if check

(integrated from trunk branch change 98cfecb by Todd Whiteman <toddw@activestate.com>)