python. Merged RestSender into RestClient, fixed #282.