Fix startup general query sending state
Add icmpv6 socket functionality
send general query on all interface
Fix wrong error code checking for setsockopt
Fix endianness issue and return value checking