For 2.2, you don't have to explicitly setup proxy in the emulator(i.e. you wont have to change an entry in the System table, nor start with -proxy switch, neither would you have to create additional APNs).
In your
java code, if you are running from behind a proxy just add your credentials to the HttpClient instance.
Something like: