Fixed socket communications problems.  Added support for the "reset" request.