changes to support Docker Remote API v1.8