upgrade OpenSSL requirements and add file download framework

* file download encryption still todo