Update openssl wrapper to 1.0.1g (fixes Heartbleed); build ssl shared libraries