Ok, it can wait.  And we should really add some tests at least with cowboy =)

Transport:recv can also take a lot of time, but perhaps it is still a good idea to move init_ack down