Fixing bugs in Client::connect() (failed to set _sock to 255 after some connection failures).
Fixing bugs in Client::connect() (failed to set _sock to 255 after some connection failures).



Former-commit-id: ea6a645dc8d5c99f73233338b7c2cb929ba6bc5f

UECIDE/chipKIT-core,ricklon/chipKIT-core,adamwolf/chipKIT-core,majenkotech/chipKIT-core,adamwolf/chipKIT-core,chipKIT32/chipkit-core,chipKIT32/chipkit-core,pontech/chipKIT-core,pontech/chipKIT-core,chipKIT32/chipkit-core,UECIDE/chipKIT-core,pontech/chipKIT-core,EmbeddedMan/chipKIT-core,majenkotech/chipKIT-core,adamwolf/chipKIT-core,majenkotech/chipKIT-core,ricklon/chipKIT-core,EmbeddedMan/chipKIT-core,majenkotech/chipKIT-core,chipKIT32/chipkit-core,pontech/chipKIT-core,UECIDE/chipKIT-core,EmbeddedMan/chipKIT-core,majenkotech/chipKIT-core,pontech/chipKIT-core,adamwolf/chipKIT-core,chipKIT32/chipkit-core,adamwolf/chipKIT-core,EmbeddedMan/chipKIT-core,ricklon/chipKIT-core,ricklon/chipKIT-core,EmbeddedMan/chipKIT-core,majenkotech/chipKIT-core,ricklon/chipKIT-core,majenkotech/chipKIT-core,UECIDE/chipKIT-core,pontech/chipKIT-core,UECIDE/chipKIT-core,pontech/chipKIT-core,EmbeddedMan/chipKIT-core,adamwolf/chipKIT-core,adamwolf/chipKIT-core,ricklon/chipKIT-core,EmbeddedMan/chipKIT-core