Minor changes to tcp_client

I'm experimenting with different ways of splitting ints into bytes and
adding them to a bytearray. This is so I can use the socket library.