title: Socket hang-up using neo4j JS driver
body: <p>all. I'm new to neo4j and trying to use the official JS driver from node / express to hit a remote (e.g. non-local) server, but keep getting [Error: socket hang up] code: 'ECONNRESET' errors. Code looks like this:</p>
  
  <pre><code>router.get('/', function(req, res, next) {
    var driver  = neo4j.driver("bolt://ip.address", neo4j.auth.basic("neo4j", "neo4j"));
    var session = driver.session();
    var query   = "MATCH (p:Person {name:'Sally'})-[r:KNOWS]-&gt;(f:Person) RETURN f";
  
    session
      .run(query)
      .then(function(result) {
        result.records.forEach(function(record) {
          console.log(record._fields);
        });
        session.close();
      })
      .catch(function(error) {
        console.log(error);
      });
  
    driver.close();
  });
  </code></pre>
  
  <p>I've tried both the streaming and promise techniques on both bolt and http, all with the same outcome. Remote server is config'ed to accept external connections and I've verified connectivity separately via golang.</p>
  
  <p>Ideas?</p>