Fix FTP/SSL (FTPS) support

FTP/SSL support was broken (at least on R15B) due to socket ownership
problem. There was also a typo in option name in the documentation, and
FTPS mode implemented was incorrectly referred to as "implicit".