ensure that ruby bindings run only ruby clients
cache loaded namespaces to be more efficient and prevent memory leaks
more memory leak fixes