Changed http client for sending any file by POST method