Small changes.
- Added minor test for socket_output
- Updated README to include input and output specifications.