fix bfx API error by zero-padding X-BFX-SIGNATURE

also some cleanup and formatty goodness
space out bfx nonces