Abrindo conexao com openStream