Fixed #115: resolved more deprecation warnings in server.js
Merge pull request #117 from grtjn/115-more-deprecation-warnings

Fixed #115: resolved more deprecation warnings in server.js