util: memrchr is not portable (GNU extension), so implement our own my_memrchr
Merge branch 'redirect_xss' into bfgminer
test gradual init