Masterserver is working

Timeouts work correctly now
Security issues:
-HTML "injection"
-No checking for types
-No string limits
I'll fix that stuff later