Fix bugs where udp was called sqs and socket used uninitialized
variables
Merge pull request #10 from iHiD/increase_test_coverage

Fix bugs and increase test coverage