Cluster configuration for hornet mq

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
socket client improvements

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
removed redundant modifier

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
null-check operator moved to a the right place

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>