Changed method signature for "exports.listen" to allow for easier server-setup when using WAMS as web-server.