modified transport type check logic for coap over tcp