http.Server is a constructor

...and thus requires the `new` keyword
update README http ctor to createServer()
Take the instance stored path value into account when attaching to eio if no option specified to attach directly
package: fix main file for example application 'chat'.
Fix usage example for Server#close.
Merge pull request #1766 from BrianGeppert/master

package: fix main file for example application 'chat'.
Added optional Server#origins(function) for dynamic CORS
Added test coverage for Server#origins(function) for dynamic CORS
Added Server#origins(v:Function) description for dynamic CORS
Change "there're" to "there are"

Not a commonly used contraction and looks a bit odd.
Merge pull request #1784 from matthewcanty/patch-1

Change "there're" to "there are"
Change grammar issues in the chat/README.md

Added a few periods and commas which were missing. Also added the word each to clarify how multiple users each enter a unique username.
Very minor edit. No source code changed.
Add test to check that empty rooms are autopruned.
Bump adapter version.
Merge pull request #1792 from rase-/add/autopruning-test

Add room autopruning test
Merge pull request #1690 from rase-/fix/resource-option-bc

Fix resource option BC with the set function
Merge pull request #1626 from thanpolas/patch-1

http.Server is a constructor
Merge pull request #1788 from jamesanthonyferguson/patch-1

Change grammar issues in the chat/README.md
Merge pull request #1777 from akamensky/dynamic-cors

Dynamic cors
Merge pull request #1773 from AjayMT/master

Fix usage example for Server#close.