ftp_client - add signal SIGPIPE handler function to avoid crash when writing data and server close the socket connection

ftp_client -

 <1>增加SIGPIPE信号处理函数,避免在写socket时服务器端关闭socket而导致程序崩溃;