Prepare for tests refactoring + fix Netty4 UDP implementation