Revert "Revert "Fix gsoap usage for PROPER builds.  #3698.""

This reverts commit 16444defea75e7630be1dd356e441b8b53c88ac7.
Make sure gsoap external is built with ipv6 support. #3740