Fix error when createServer() with no arguments.

Previous code tried to access 'server' property of undefined.
Merge pull request #5 from Leftium/default-config

Fix error when createServer() called with no arguments.