Tweak to fix incompatibility with rasberry pi; added ability to change what IP address the client connects to