Fix RCON and QUERY bugs