gridftp: Propagate FTP failure reply in client

(cherry picked from commit 4a09e12f7692ca14a68b906df59221876a46bf4f)
(cherry picked from commit 00cff657c1ed077d2bbdaaff2076e3b7df7cf26f)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>