connection timeout value overriden by client timeout

We need to provide two method for client and client timeout policies.


Change-Id: I86e0963104e0a00c4c623a34e809f056c7669cf0
Signed-off-by: pkliczewski <piotr.kliczewski@gmail.com>
Reconnect issues fix

Rarely occurring connect deadlock and waiting for CONNECT frame makes
sure that frame is recives or disconnects.


Change-Id: I6e85fe62af32bdfae2ce96ad138282fa8424b76f
Signed-off-by: pkliczewski <piotr.kliczewski@gmail.com>