Add ioctl to reset the establishment bit

Add an ioctl to reset the establishment bit. It takes as an
argument the locality to use.