Fixes for memjs client.