Updated server to select random templates and log last 5 payloads.
Modified heap spray.