added threading so send and get are running concurrently.
added AES encryption and it works properly