Issue #1 is partially addressed (untested)
Issue #7 is partially resolved as the correct protocol codes are used for parsing registered users