Read docker api version from environment and skip some tests on 0.9