Created by: unilaterus
Added function to wrap closing the internal server. This function accepts an optional callback. The close will immediately cause proxy to stop listening on its current port but it will not close any pre-existing connections. Once all open connections are closed it will execute the given callback if one was supplied.
Closes issue: https://github.com/nodejitsu/node-http-proxy/issues/675