Following the online abuse he received in the wake of the Rugby World Cup final, referee Tom Foley has stepped away from officiating Test rugby.