Change in the client constructor

This commit changes the client constructor. Now the IP of the server
is a client constructor parameter.

Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com>