Improved get_header with prettytable, fixes #372

Signed-off-by: Stefan Tatschner <stefan@sevenbyte.org>