Send HTTP 201 and 204 status codes

This pull request sends HTTP 201 for created and 204 status codes for empty responses and closes #65.