Allow JsonTransport to use a proxy

Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>