Curl support and direction private key modifications

Defaulting to cURL as the main transport. I would not be surprised if there were some unintended effects where curl behaves different to streams, but as far as I can see (and the tests say) its all good!