Changed the value of set_cookie() 'expires' from 3x10**9  3x10**8 (10 years)


The initial value was triggering 2038 issues or some platforms (or pure
integer overflows, did not check). Also admit long as param type inside
set_cookie() as there does not seem to be any reason not to.