added local tcp connection instead of stdin com