Changed how protocol  selection is handled. Started adding UDP.