Use twisted, if available, to preview else use SimpleHTTPServer