use server.getConnections() to avoid deprecation warnings
Merge pull request #1 from jergason/master

use server.getConnections() to avoid deprecation warnings