use calibre ip address returned by receivefrom
This fixes unresolved hostname issue in some network configurations.
Merge pull request #909 from chrox/fix_hostname_unresolved

use calibre ip address returned by receivefrom