Fix for #10 exposing server api for custom servers

Fixes #10 by adding server api for easy access. I am not sure if there is other ways of exposing that api, as I only started serious node.js coding recently.

Thanks.