Except as otherwise provided by the general statutes, whenever any person is by law required to give a bond, such requirement shall mean a bond with surety.