Unfortunately script does not support any of the features you described. Resume and ports are managed by webserver (Apache, IIS, etc). Theoretically it can be done, but i have no experience in that area, and do not yet know how to do that. To be honest i will not have time to look at this for at least month or two
