allow numeric socket and check it consistently