Fixes an issue with boundary string

Current version of Motion returns boundary header with leading dashes, which causes script to miss the chunk end. Fixed by trimming parsed delimiter.