Issue #2 : Client server communication functions