[Endpoint] Add replacing(task:) method & refactor adding headers one.
[Endpoint] Add replacing(task:) method & refactor adding headers one.

ashfurrow/Moya,justinmakaila/Moya,ashfurrow/Moya,justinmakaila/Moya,calt/Moya,calt/Moya,Moya/Moya,Moya/Moya,calt/Moya,justinmakaila/Moya,Moya/Moya