Use ConnectionFactory in the Urban Airship API calls.

The API calls were not working for me, apparently because the transport was not the adequate one. In BB5+ there is a ConnectionFactory class to provide you with the appropriate connection object. The use of this class fixed it for me.