rename to createServer()
fix a bug in relativePath computation