[fix] Throw an `error` when the first argument of the constructor is not an HTTP/HTTPS server instance

Fixes #126
[test][fix] Fix "unsupported transformer" test
Merge pull request #131 from lpinca/fix/server-argument

Throw an `error` when the first argument of the constructor is not an object