Today i have finally discovered what are the settings that i need to set in order to access my gmail account via jabber client (currently it's gajim).
To get through proxy (port 3128) i had to use legacy SSL, hostname talk.google.com and port 443.
Voi la! It works! :)