refactor podspec structure, extract openssl as dependency