Adapt Opiom to use consistent communication configuration
I implement the #73 (closed) for the Opiom:
- add support for new communication configuration
- add deprecation warning if using original configuration
Notes:
- I added deprecation warnings. You need to start python with
python -Wd
if you want to see the deprecation messages in your console. This will help migrating