Registeration & init

register mytcp & change the inet-initialization code