Commit 32cb56ceedc5bb5738c4461bbb4e65e2314d6b66

Edward Thomson 2018-10-22T10:16:54

http transport: refactor credential handling Factor credential handling into its own function. Additionally, add safety checks to ensure that we are in a valid state - that we have received a valid challenge from the server and that we have configuration to respond to that challenge.