api/common.go

api/common.go: code shared by the server and client implementation of the Docker remote api.