Add gitignore for iOS files
Move iOS TCP handling code into separate interface object