Add ipv6 support for api listen
Remove the brackets when using v6 pool address
Free addrinfo garbage
Fix client ip address output
Support ipv6 multicast
Fix error when using v6 without mask in api-allow
Clean
Merge branch 'temp' of https://github.com/Canaan-Creative/cgminer into Canaan-Creative-temp
Fix warnings
Merge branch 'Canaan-Creative-temp'