Fix redirections,

they were having no effect, the module was ignoring the new location
Merge pull request #564 from NebTex/master

Fix redirections
handle ciphers and secureOptions in agentOptions
tests and fix for null agentOptions case
Merge pull request #568 from SamPlacette/master

use agentOptions to create agent when specified in request
Merge remote-tracking branch 'upstream/master'