Fix ZeroMQ cmake module.
Fix callback function to work with multiple arguments and return None
in case of error.