ENH: Server compatability with Python 2.7