Use FormatError instead of assertions for length checks of incoming messages
Use FormatError instead of assertions for length checks of incoming messages

With assertions, sending a malformed message over the network
would crash the app. Now it just stops the peer connection.

ethereum/pydevp2p