Adding bad version packet type
Added open_socket