Add suspend and resume support in class Server

Hi,

I added support for these two functions. Can you add this?

Kind regards,

Jasper Aikema