- harmonize tcp and web socket tests so they behave the same.
- fix issue with stale frozen connections
- add connectivity related features
- add configurable handlers