fix imports and references to socketserver