Fix several bugs in sctp_bindx(): * Return EAFNOSUPPORT if called with an address not belonging   to AF_INET or AF_INET6. * Don't modify the arguments. * Handle the case where the first address provided is an IPv6   address.
Fix several bugs in sctp_bindx():
* Return EAFNOSUPPORT if called with an address not belonging
  to AF_INET or AF_INET6.
* Don't modify the arguments.
* Handle the case where the first address provided is an IPv6
  address.

ossy-szeged/sctp-refimpl,ossy-szeged/sctp-refimpl,ossy-szeged/sctp-refimpl,ossy-szeged/sctp-refimpl,ossy-szeged/sctp-refimpl,ossy-szeged/sctp-refimpl,ossy-szeged/sctp-refimpl,ossy-szeged/sctp-refimpl,ossy-szeged/sctp-refimpl