Deprecate Socket.get_assign