Fixed RTMP client and changed server model to work with the one provided
by the RTMP client