Fixed #106: resolved deprecation warnings in server.js
Merge pull request #107 from grtjn/106-deprecation-warnings

Fixed #106: resolved deprecation warnings in server.js