NodeJs script to mock HTTP responses