Added refresh token logic.  Fixed POST 443 port error