Jacek Caban : server: Use common get_fd_type implementation for both pipe end implementations.