Don't register legacy socket if it's not being used