Add .rebar to .gitignore
Fix problem where the atom 'ok' was returned for amount of transmitted bytes.