Send the encoded data (bytes) and not the str, on the socket.