Added a way to do a URL request through a block.