[Fix] Read proxy port setting using GetInt(). Fix #14310

This PR will fix http://trac.xbmc.org/ticket/14310 which we thought already fixed by other PR but until user report it back we found that indeed it's still there.
so here's the fix.