Slight change in the API, client has to send stuff first

I do this simply because I want to support WebSockets later on, where
the client will send us stuff first.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>