Socket Server should be implemented with threads