add response write method with status and headers parameters
Merge pull request #83 from rossputin/master

add response write method with status and headers parameters