setting up anagram tcp server