send events and not state as state are not recorded

Send events instead of State, as state does not seems to be recorded (v
2.4) and other clients send states.
Add all kinds of timeout settings to tcpclient