Changed alreadyRequestClose to use a pointer so changes persist.

Signed-off-by: Glenn Oppegard <goppegard@pivotallabs.com>
Move helpers into lib for use in go cli

Signed-off-by: Mike Gehard <mgehard@pivotallabs.com>
Extract message dumping for use in CLI