How drinking with Delaney and Matt Lawrence inspired The Inbetweeners’ creator