Update lib/server.js

remove err from callback