On OSX sockaddr_in needs to have sin_len set and sin_zero should be zeroed out,
otherwise we cannot bind specific incoming addresses (only INADDR_ANY would work).