Fix some error cases to raise Net::SCP::Error instead of RuntimeError, add tests
Merge pull request #16 from chqr/issue-15

Fix some error cases to raise Net::SCP::Error instead of RuntimeError