Add support for multiple Docker API versions

Add support for Docker API v1.12

Fixes #106
Sure