getTos method in stackend for compability with older stack implementation

Signed-off-by: Alexander Skjolden <alex@plastboks.net>