fix ticket#1700 and also check for protocol
fix ticket#1700 and also check for protocol

NewEraCracker/pfsense,ch1c4um/pfsense,BlackstarGroup/pfsense,ch1c4um/pfsense,pfsense/pfsense,dennypage/pfsense,brunostein/pfsense,brunostein/pfsense,NewEraCracker/pfsense,ch1c4um/pfsense,phil-davis/pfsense,NewEraCracker/pfsense,pfsense/pfsense,NOYB/pfsense,BlackstarGroup/pfsense,brunostein/pfsense,pfsense/pfsense,BlackstarGroup/pfsense,ptorsten/pfsense,ch1c4um/pfsense,dennypage/pfsense,NOYB/pfsense,NewEraCracker/pfsense,ptorsten/pfsense,phil-davis/pfsense,phil-davis/pfsense,dennypage/pfsense,phil-davis/pfsense,jxmx/pfsense,jxmx/pfsense,jxmx/pfsense,ptorsten/pfsense,dennypage/pfsense,BlackstarGroup/pfsense,NOYB/pfsense,pfsense/pfsense