Turn to sync mode to sync stdout log
Use thin instead of WEBrick

WEBrick needs exact Content-Length