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

That is very strange! I honestly have not seen this before.