toggle mozTCPSocket access