Use different method of determining local IP
Clean up api for notifying