Implement call-with-current-continuation