Implement the basic parsing for Accept header.

The first try to add missed Accept header parser. 

Current details:

* It is very pessimistic: None in case of any potential errors
* It returns None when header is empty