changed from  direct use of sockaddr_storage to custom sockaddr_any with internal union to fix strict aliasing problems
removed unnecessary flags
changelog
changed from malloc to calloc