In python3, have to convert strings in bytes when usings sockets. Related to #78