Add server.close()

This PR adds a `close([callback])` function to the server.
Use case: need to free port.