Changed JSON Server to use Twisted UDP reactor

As suggested by Luis Pabon.

This is to work around the problem of routinely hitting the
thread limit with the previous code.