added ssl caching
ssl file upload is working now todo: cleanup