Todo: SSL RPC connections... user/pw vars may be required...
Also, update the make files and handle better the getwork client requests..
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
fallback to HTTP 1.0 if a wallet send chunked data transfers
Else show a message if Content-Length header is not returned (gbt)
But... decred gbt format remains too much different...
Store default account (its not the empty one "" in decred)
Note: This commit also fix some possible segfaults when the wallet
doesn't return what is expected...