login function
Log in to the RCON server using the given socket and password. Returns a boolean that specifies if the command was successful.
Implementation
bool login(String password) {
// Sends an RCON message with request ID = 3 (authenticate)
// with the password as the payload.
return sendMsg(3, password);
}