http function from book, Expert F# 3.