refactor the setupTunnel prototype method
update code to follow lint conventions
Merge pull request #1120 from seanstrom/support/refactor-request-setupTunnel

Support/refactor request setup tunnel