Merge pull request #907 from chrox/calibre_companion

add Calibre Companion plugin
Code optimization
Merge pull request #908 from WS64/master

Minor code optimization
use calibre ip address returned by receivefrom
This fixes unresolved hostname issue in some network configurations.