Make it possible to send and recieve packets during login.