Content Type with parameters decoded properly

This fixes #1 where we are not taking into account a content type length

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>