Minor changes
Readded ERR_NICKCOLLISION definition
Rewrote majority of server code and wrote uid selection function