Added the client side connection to communicate with the server.
- Testing with server sending data is still required