Shuffled some methods around for readability.
Created a common TestConnectionListener class.
Abstracted out some common tests into ApnsConnectionTest.