Using uppercase PASS and NICK commands triggers a connection reset by peer

Sounds like it could be a firewall blocking the IRC protocol.