modify the declaration of socket_address and its sub-classes