wsgiref/thread server implemented, test added