Changed fake server to threading to make it compatible with paramiko's ServerInterface. Changed tests to use new fake server