Fix server for Python >2
Merge pull request #1 from glsignal/master

Fix server for Python >2