fix of https.request + tests