adding threading and IPv6 for reportspam and helper functions
merging and resolving conflicts