[mcproxy] Fixes, cleanups and updates.

More details on each commit ;D.