BS: Added stripVersion function to haproxy template machine