Added secure=true to the LinkedIn API call.