exposing raw socket object