Add HEAD and POST. Still try to find the way to autostart server.