Fixed bugs in mock server and parse yaml

1. Fixed a bug when sending chunked body with trailers via POST method
2. Fixed a bug for parsing YAML file causing the key's value lowercase