seperate main() function from server.c,encapsulate SSL and socket primitive...but the functions don't support multi-thread well.
separate main() from main.c and encapsulate SSL details and socket primitive in client.c
modify readme