Added few more options to SSL method, and added fix for trailing slash in FTP URL