added missing parts to iOS TCP-Server