Add HTTP response code 307 support in URL helper redirect()