Added http url connection code.