Added Pipe.getsockname function