Updating example to use Server instead of middlewares
Merge pull request #11 from ericraio/master

Update example to use Server instead of middlewares