Added file encryption using passphrase
Add logging on server, added timeout for connection