Does uid bounds checking to avoid segfaults
Http/json support, full webui support will come later