Reducing edge connectivity to vertex connectivity