Testserver: Bugfixes, Improvements

* Did not return responses to special URLs correctly
* Sets SocketServer.TCPServer.allow_reuse_address to True
  to avoid "Address already in use" errors
* Can now be started as a stand-alone script