TCP handshake. Playing with interrupt flags gotta stop. Proper waiting/locking system needed badly