simple_bridge cowboy 0.8 bindings with generic ct test

simple bridge binding for cowboy 0.8
some refactoring
ct test