CLient - connection with server working. integer values transferred incorrectly