Stephen Keogh collects hat trick in Halifax win