Deprecate set_ipv6 functions and add replacement that take a generic address

The set_ipv6 functions do not allow setting the IPv6 scope, so deprecate
those functions and add replacement that take a generic sockaddr struct
instead.
Fix crash in remote test
Allow setting port in remote test
Use automake silent rules if available