[Reviewer: Rob] Issue624

Merging in order to get this fix into tomorrow's release, but I have a couple of cleanup comments we should address.
(Ellie points out that we have just moved fakecurl and fakehttpconnection here, so fine.)