add a mute method to silence openssl/libxml output
extract 2 libc methods; remove dep on ffi-libc gem