modification to socketserver