The rape trial of Jarryd Hayne has heard the alleged victim sent him explicit messages prior to the sexual assault, that the defence says was consensual.