This is a dirty solution for some issues, we need to work this out nicely
Add an optional reference to config in client.py.

This way, using the version attribute of config, createruntime and
create_runtime can be called.