Add events endpoint to the Client

 This is a bit of a hack; I added a method (and did a slight refactor of
 the old one) to handle getting the raw socket from the requests
 request. If the attach_sockets method isn't public, I'd suggest
 removing it entirely for a slightly more general one.

 This also needs some attention paid to validating legnth, and properly
 parsing the returned data by using the length.

Signed-off-by: Paul Tagliamonte <tag@pault.ag>
pull, push, build are streamable
Merged + events should support JSON data of any size
pull, push, build are streamable
Allow for configurable timeout on all client requests

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Support the new PublishAllPorts flag.
Adds missing comma in start ports dict
links implemented. use v1.6 by default now
many tests have been implemented
logs now follows the new stream format
Merge pull request #93 from atbaker/Readme_fix

Adds missing comma in start ports dict
Merge branch 'paultag-paultag/feature/events'
Merge pull request #90 from treylane/add-publish-all-ports

Support the new PublishAllPorts flag.
Merge branch 'stream-pull-request' of github.com:yukw777/docker-py into yukw777-stream-pull-request
Unify socket helpers + naming conventions
Merge branch 'master' of github.com:dotcloud/docker-py
Merge branch 'log-fix' of github.com:yukw777/docker-py into yukw777-log-fix
Client.logs should work with version < 1.6
Small test fix
Refactor timeout passing and standardize with keyword parameters

Standardize all HTTP request calls to use keyword parameters for all but
the URL. This makes the refactoring of including the timeout in these
requests' parameters easier and more uniform-looking. Tweaks to the
tests to comply with this new parameter passing scheme, in particular to
the API calls assertions.

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>