add http connection sample