check server protocol