Modified MessagePump to get its host ip internally