Finish server part of communication between client and server
Finish phase1