unix, windows: Expose bound pipe name

Q: Should we also expose the name when we connect?

If so, is there any way for knowing if a pipe is a server or not in unix without adding an extra attribute? We need to know not to unlink it on close.

/cc @bnoordhuis