Fixes bugs in referee network connection refactoring. #25