You want: warmcat/libwebsockets. This is a fork of warmcat/libwebsockets with minor modifications to facilitate the development of python bingings (forthcoming) and add optional support for libev..