block_requests function

Block HTTP requests