Undefined offset in Stomp Client
<p>I'm trying to connect to activeMq broker using a Stomp Client source code. I have downloaded Stomp.php and when I run examples it shows the following error:</p>

<blockquote>
  <p>Notice: Undefined offset: 1 in C:\xampp\htdocs\Test\Stomp.php on line 368<br>
  StompFrame Object ( [command] => 1 [headers] => Array ( ) [body] => ) </p>
</blockquote>

<p>This error is caused by line 368:</p>

<pre><code>list ($header, $body) = explode("\n\n", $data, 2); 
</code></pre>
