update to 2.2.1 and support openssl