Resolved most TODOs in the new ApnsConnection class.
Made a first pass at making PushManager work with ApnsConnection instead of ApnsClientThread. Unsurprisingly, many things are broken.