Got server working by:
• Changing BufferedWriter to PrintWriter (which has println(), so removed extraneous newline appends; does not throw IOException so removed error handling)
• Adding call to flush() after each println() to ensure data is actually sent

Additionally, enhanced shutdown sequence by sending shutdown message to server, then waiting for like response before closing client. This allowed for cleaner read/respond loops (removed sentinel bool, now infinite loops with breaks).

Finally, cleaned up both code and output.