Changes in TCP Client

- Added function to reformat input string:
ID, DestID and State are input by the user as numbers, and the function
changes them to bytes for transmission