migrate from Strings to Bytes as these are the natural type of socket communication