- added TCP messsaging (with channel support)
- added missing typedef for error type