Thomas Frank's #BrentfordFC side overcame a tricky Colchester United to progress to the third round of the Carabao Cup.