Jacek Caban : server: Moved server-independent parts of pipe_server_flush into separated function.