Apply behaviors before first connection attempt

Allows 'connect_timeout' to take effect already on the first
connection.
Merge pull request #153 from hfalcic/master

setup.py: explicitly read README.rst as UTF-8
Fix issues in PR #148
Merge branch 'melor-pre_connect_behaviors'
Merge remote-tracking branch 'origin/master'