Added option to add a custom protocol