add an insecureAgent when maxSockets is set, closes #1512
add comment to clarify duplicate rejectUnauthorized
Merge pull request #1551 from spumko/1512/rejectUnauthorized

add an insecureAgent when maxSockets is set, closes #1512