Add error handling for invalid addresses
Merge pull request #7 from ksin/invalid_address_handling

Add error handling for invalid addresses