Fix import of socketserver on Python 3

Problem appears when paramiko is installed, and it has recently become compatible with Python 3.

Closes gh-5382