Ban command is not working in Varnish release 4.0 #1 

I have added support for Varnish pre release 3 (included) and post one, because ban string command has changed in version 4 
https://www.varnish-cache.org/docs/4.0/users-guide/purging.html