added some code for making an HTTP Request. work in progress.