Overriding malloc/free for openssh2