Whenever the petition provided for in section three (3) [section 2-317] of this act is presented; or when the said governing body shall have determined to improve any street, and shall have passed the resolution provided for in said section three (3) [section 2-317] of this act, the said governing body shall then have the power to enact all ordinances and to establish all such rules and regulations as may be necessary to require the owners of all property abutting on the improvement to pay the cost of such improvement; and to cause to be put in and constructed all water, gas, or sewer pipe connections; to connect with any existing water, gas or sewer pipes in and underneath the streets where such improvement is to be made; and all cost and expense of making such connections shall be taxed solely against such property but shall be included and made part of the general assessment to cover the cost of such improvement.