True timeout for connecting methods.
Cocaine-tool upload improved with docker support.

 - `--docker` option specifies docker daemon address, `--registry` specifies docker registry address.
 - tiny refactoring for `docker` module.
Tests fixed.
Introducing example for docker support.