SERVER-8492 SERVER-13893 Test for detecting named/unnamed unix socket

Signed-off-by: Benety Goh <benety@mongodb.com>