add support of SSL keystores and proxy