prepared local tcp socket for communication
added local tcp connection instead of stdin com