Add a flags argument to json_rpc_call()
Allow tunnelling Stratum through an HTTP proxy