Set the encryption level on the network thread instead of setting it on the main thread
- ensures we don't set the encryption level before the client recieved approved (existing issue) and ensure batches are flushed before the packet is sent (new issue)