[PATCH 2/4] packet.h: remove unused open_socket() declaration