allow strtotime strings in WebResponse::setCookie, closes #348