Related to the Issues [#14, #16, #17, #18, #28, #15, #32]

Fix the following issues [#14, #16, #17, #18, #28]
And partially fixes: [#15 (fixed only for iOS), #32 (The Buffer length was improved to 10240 but the big deal is make it configurable)].