Set AttachStd* attributes according to detach and stdin_open commands, analogously to the docker cli
attach_socket() method for just getting the HTTP socket
Merge pull request #36 from aanand/get-attach-socket

attach_socket() method for just getting the HTTP socket
Merge pull request #37 from aanand/set-attach-attributes

When creating a container, set Attach* attributes according to detach and stdin_open arguments
Merge branch 'master' of github.com:dotcloud/docker-py into issue-33

Conflicts:
	docker/client.py