Add buffer_size parameter in config file.
pep8 : remove space at end of line
Add buffer_size setting to remote interface
add missing return