sigint handler: only run cleanup if there are no user handlers
pass socketPath option through to http[s].request