A Python rewrite of shoghicp's implementation of RakNet protocol (originally in PHP)