make server_loop a REAL tail call again
Merge pull request #380 from Incubaid/fix_memleak

make server_loop a REAL tail call again