feat: add support for custom servers to monitoring service
With this the monitoring service can be shutdown safely by providing a custom server and calling server.Shutdown
later on.
The change is backward compatible and there's no change in behaviour if a custom server is not provided. Additionally users are able to set timeouts to the underlying server.
Closes #43 (closed)
Edited by feistel