CSS H.L.Hanley, Confederate submarine