Use socket permission for web terminal chrome app