libfreerdp-core: add gateway-usage-method command line option, avoid resetting BIO flags we shouldn't reset