Make agent and debug configurable through options

Agent should be a socket filename such as can be read from
process.env.SSH_AUTH_SOCK.

Debug should be a function taking a single parameter, message, which
will be logged somewhere.