Server: fixed import file/db commands, improved speed on creation of HTTP connection and supported stateful commands in server XML configuration