Added possibility to use TCP for communication. No security