More capability

My version of the file uses the socket wrapper, there's a lot more flexibility and customization with that. Also, latency as well as status are added to the return of the Query() method.