Cleaned the server code. Solved issue with "br.ready()" causing problems.

Signed-off-by: gitta-mannen <mail@janpettersson.com>