Adding types for raw sockets