Apply behaviors before first connection attempt

Allows 'connect_timeout' to take effect already on the first
connection.