Safe loading of libraries

Safe require function specifically for openssl plugin