Updated documentation with code changed made to connection protocol/sequence.