Fix leak caused by fix to bug #65667

ftp->stream is now closed in the ftp resource dtor.
Merge branch 'PHP-5.4' into PHP-5.5
Merge branch 'PHP-5.5' into PHP-5.6