php chroot initialization work, covering DNS and ssl(https)