refactored socket
refactored ftp
added DELE (delete) and RMD (remove directory) fns