new changes to base url and adding referer, host etc to the connection parameter