Fixed: web server crashes if invalid command is send.