Fix dialyzer error on unknown socket type.