Fix warning in socket_base_t::bind()