[api] Use `rejectUnauthorized` option
[dist] Bump version to 0.4.5