Added socketserver and simple tests