fix block passing in NetHttp and test it. (where did the original test go in the first place?)
don't use define_method for #get_uri and friends, Patch is not defined in 1.8.
deprecate the old #get_uri API properly.