Yaakov's Struggle with Esav

Who is the "man" with whom Yaakov's struggles at night? Why does the struggle take place the night before his meeting with Esav?