NEO-M8P base is capable of generating 1005, 1074, 1077, 1084, 1087, 1124, 1127 and 1230.
So NEO-M8P rover should be capable of decoding 1004 and 1006 to get base station information. What messages does your Trimble station send for differential data?
Any Trimble station capable of generating these messages should work. You can transport the RTCM data though any link (TCP, serial, USB, etc…) as long as it is finally fed to the RTK module via serial with the good baudrate.