Tcp connection working

Connection now works, now to simulate keypresses