Introduced Debug Logs and fixed some issues in srv

Introduced Debug Logs and fixed some issues in srv
Merge branch 'master' of https://github.com/rahamannaik/sysprog

Conflicts:
	client.c