Add support for multiple Docker API versions

Add support for Docker API v1.12

Fixes #106
I think that the current code is good. If the user doesn't specify any version, the client use just the unversioned URL.