remove the test code of main.
for bug #159: postpone the http server bug to 2.0+