IOT-3234 fix discovery request creating