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

Only I  added the bytes() cast at the metric string. Now it will work with python2 and python3. :pray: