passed rsync data to http client and created fds for communication between mongoose and rsync