Easier said than done but: Fire the client, cut your losses and move on. Be direct - tell him/her that the project wasn't managed right, their expectations are out of line and there is no end in sight.
Don't try to convince your self you can fix the project. Faster you get away the faster you can get new clients that you will be able to manage better.
Also don't panic: everyone learns the hard way to manage clients :)