supporting PROXY line; guessing json before processing.