Fixed socket->tls-socket for server socket.
Fixed tls-socket port. read! wasn't considered when eof was returned from recv.
Added ftp client library.
Modified low level socket apis.