Asynchronous http requests using the continuation monad