IPhone 5S Charging Jack looks as it is Burnt?

The Charging Socket in my iPhone has turned Black as if it has Burnt, the charging has become slow and sometimes it doesn't even plug into charging(Charging Symbol doesn't show up). So are these both issues related? Is it some serious matter and if these are related will they replace my iPhone as it is still in warranty.
