Added a function to determine if the connection to MPD is a local connection.  Added a unit test to test that functionality.