Add support for multiple Docker API versions

Add support for Docker API v1.12

Fixes #106
I believe we can remove those comments.