Cowboy commit an API rough draft and a few stubs.