Lowercase all test output.

Add Shutdown tests as well
Implement Shutdown()

This is working for TCP, but for UDP the Read does not honor the
deadline settings.