Add DnsSearch/VolumesFrom to HostConfig object
Add NetworkMode -- note that for the moment it is not checking validity (but the Docker API will)
An unexpected EOF error can occur when Docker is restarted.
Merge pull request #108 from nitrous-io/events-unexpected-eof

Events - handle unexpected EOF
authors: add Cheah Chu Yeow
Merge branch 'master' of github.com:jefferai/go-dockerclient
client.go: Error handling.

When the request is not properly formed, like missing image name, Docker just closes the connection without any response which results into a Panic, this will fix the issue. I will try to fill a bug upstream too, however, this fix is still required as the connection can be closed unexpectedly for a lot of reasons.
authors: add Omeid Matten
container: add Logs

This is a new endpoint in the API v1.11. Now it's way simpler to get
logs from a container :)
container: add the RawTerminal logic again

Sorry about the mess x)
Add support for multiple Docker API versions

Add support for multiple server API versions, including the changes made
to the keys returned when inspecting an image in 1.12
(https://github.com/dotcloud/docker/commit/68fb7f4b744bf71206898d32fe203556a6261e5d).

Fixes #106
client: remove some comments
container: fix test
client: remove some other comments
misc: reorder imports
event: fix golint warning
client: add docs for ApiVersion
client: skip version checking in unversioned client

Also added some tests.
client: fix hijack behavior

Related to 9bfe329389e8b87f98dc79dd2849c4af40196c29.
container: fix documentation of AttachToContainerOptions