He also spoke broadly about bolstering diplomatic relations with China and cited common challenges the two sometimes-adversaries face : counterterrorism , piracy , energy security and disaster relief .