Fix pickle & clone bug in curl transport
Issue #90: make transport option more flexible