add wsgi support

Signed-off-by: Conke <conke.hu@maxwit.com>