insert_cassette function

Insert a cassette to record HTTP requests