add custom port support to send domain message