Wrote a simple test for Ames and fixed some bugs:
- Properly handle to-galaxy lanes.
- Use the same socket for send and recv.
Otherwise, sending happens from a different port.
- Properly close the socket on shutdown.
Otherwise only the first test works.