using more comprehensive prependURLHTTP function to replace prependHTTPToWebsite.