style fix
always end response with a newline
test suite for #29 (nothing is fixed yet)
refactoring: move uplink.get_package() calls to it's own function