Cohomological Hall Algebras, Vertex Algebras and Instantons