Python implementation of rawsockets